package com.pcafs.common.core.domain.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.*;

/**
 * 财务数据仓对象 pcafs_database
 * 
 * @author pcafs
 * @date 2022-05-02
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("pcafs_database")
public class PcafsDatabase implements Serializable {

private static final long serialVersionUID=1L;


    @TableId(value = "ID")
    private Long id;

    private String tabName;

    private String tabNameEn;

    private Long creater;

    private String delFlag;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    private Long pid;

    /**
     * 子
     */
    @TableField(exist = false)
    private List<PcafsDatabase> children = new ArrayList<>();

    /** 请求参数 */
    @TableField(exist = false)
    private Map<String, Object> params = new HashMap<>();

}
